<?php
namespace app\admin\controller;

class Brand extends Base
{

    protected function _initialize()
    {
        //如果要检测token,就调用父类_initialize方法
        parent::_initialize();
    }


    public function index($time)
    {
        $a = [
            1=>'天',
            33=>'天天上线'
        ]
    }

    public function save()
    {

    }

    public function read($id)
    {

    }

    public function update($id)
    {

    }

    public function delete($id)
    {

    }

    public function upload()
    {
        return $this->upload_img('brand');
    }

    public function uploads()
    {
        return $this->upload_imgs('brand');
    }
}